﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;


/// <summary>
/// Summary description for Utility
/// </summary>
public class Utility
{
    public Utility()
    {
        //
        // TODO: Add constructor logic here
        //
    }

    private static DataTable CreateDataTableForCSVData(String strLine)
    {
        DataTable dt = new DataTable("CSVTable");
        String[] strVals = strLine.Split(new char[] { ',' });
        foreach (String strVal in strVals)
        {
            // String strColumnName = String.Format("Column-{0}", idx++);
            dt.Columns.Add(strVal, Type.GetType("System.String"));
        }
        return dt;
    }
}